package com.example.dayu521.msg_sender.controller;

//import org.springframework.web.bind.annotation.RequestMapping;
import com.example.dayu521.msg_sender.service.ISeckillSessionService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 秒杀活动商品关联 前端控制器
 * </p>
 *
 * @author baomidou
 * @since 2023-03-20
 */
@RestController
@RequestMapping("/seckillSkuRelation")
public class SeckillSkuRelationController {

    @Resource
    private ISeckillSessionService iSeckillSessionService;

    @GetMapping("/hello")
    String hello(){
//        iSeckillSessionService.test_redis_atomic();
        return "hello";
    }

}
